home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / M / LSC213.cpt / ScrapMgr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-09-26  |  672 b   |  39 lines  |  [TEXT/KAHL]

  1.  
  2. /*
  3.  *  ScrapMgr.h
  4.  *
  5.  *  Copyright (c) 1986, 1987 THINK Technologies, Inc.
  6.  *  These interfaces are based on information copyrighted
  7.  *  by Apple Computer, Inc., 1985, 1986, 1987.
  8.  *
  9.  */
  10.  
  11. #ifndef    _ScrapMgr_
  12. #define _ScrapMgr_
  13.     
  14. #ifndef    _MacTypes_
  15. #include "MacTypes.h"
  16. #endif
  17.  
  18. /* result codes */
  19. enum { noTypeErr = -102, noScrapErr = -100 };
  20.  
  21.  
  22. typedef struct    ScrapStuff
  23.     {
  24.     long        scrapSize;
  25.     Handle        scrapHandle;
  26.     int            scrapCount;
  27.     int         scrapState;
  28.     StringPtr     scrapName; 
  29.      } ScrapStuff,* PScrapStuff;
  30.  
  31.  
  32. /*  functions returning non-integral values  */
  33. pascal PScrapStuff InfoScrap();
  34.  
  35. /*  low-memory globals  */
  36. extern ScrapStuff ScrapInfo : 0x960;
  37.  
  38.  
  39. #endif _ScrapMgr_